﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Urb.Weather.Core.Manager;
using Urb.Weather.Core.MeasureUnit;
using Urb.Weather.Core.Util;

namespace Urb.Weather.Manager
{
    internal class WeatherDataHistory
    {
        public WeatherDataHistory(string sourceName)
        {
            this.Temperature = new ConditionHistory<TemperatureUnit, TemperatureConditions>(TemperatureHelper.ConvertTemperature, sourceName);
            this.Pressure = new ConditionHistory<PressureUnit, PressureConditions>(PressureHelper.ConvertPressure, sourceName);
        }

        public ConditionHistory<TemperatureUnit, TemperatureConditions> Temperature { get; private set; }
        public ConditionHistory<PressureUnit, PressureConditions> Pressure { get; private set; }
    }
}
